home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 1854 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  6.3 KB

  1. Path: dlmlap.supra.com!dan
  2. From: dan@supra.com (Dan Moore)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: Supra 28.8 Problem!!  HELP!!
  5. Date: Wed, 17 Jan 1996 16:19:49 GMT
  6. Organization: Supra Corporation
  7. Message-ID: <dan.810.30FD21A5@supra.com>
  8. References: <4d12a4$fkt@sam.inforamp.net> <4dfb08$cor@news2.deltanet.com>
  9. NNTP-Posting-Host: dlmlap.supra.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B.7]
  11.  
  12. In article <4dfb08$cor@news2.deltanet.com> vondyer@deltanet.com (vondyer) writes:
  13. >In article <4d12a4$fkt@sam.inforamp.net>, sinister@norm.inforamp.net says...
  14. >>   What I want to know is, how do I go about changing its Com port on one 
  15. >>of these Plug and Play thingies? ... Also, does anybody have a nice 
  16. >>initialization string I could use here that would help? ... I'm going 
  17. >>nuts, slowly over this.. Any help is appreciated..! thanks..
  18.  >I'm going to take a wild guess but I don't have a PnP modem so I don't have 
  19. >experience with the set up.  Normally Com Port 3 shares the same interrupt as 
  20. >one of the primary com ports (I think it's Com 1).  The same thing applies to 
  21. >Com 4.  Most I/O cards come configured for Com 1 and 2 enabled, even though 
  22. >you may have nothing connected to Com 2.  Therefore, when the modem installed 
  23. >itself, it saw 1 & 2 as busy and settled for 3.  The interrupt in use is 
  24. >probably conflicting with interrupt calls from another piece of equipment.  
  25. >If you have the ability to set the modem up for 1 or 2, that would be best.  
  26. >If you must go with Com 3, you will need to find an interrupt not in use.
  27.     
  28.          The original spec (if you can call it that) for the AT said COM1 was 
  29. I/O address $3F8, IRQ 4; COM2 was $2F8, IRQ 3; COM3 was $3E8, IRQ 4; and COM4 
  30. was $2E8, IRQ 5.  Of course the AT hardware design doesn't allow ISA cards 
  31. to share interrupts, so COM3 and COM4 effectively couldn't use interrupts.    
  32. In order to make the COM3/COM4 I/O addresses useable add on serial ports 
  33. (including internal modems) typically assign them to alternate interrupts (eg. 
  34. IRQ 5 is commonly used for COM3).
  35.  
  36.          When PnP configuration occurs (either by Win95 or a PnP BIOS) it 
  37. queries each PnP device in the system to find out what resources it needs.  
  38. The device returns a series of configurations stating what I/O 
  39. addresses, IRQs, DMA channels and memory addresses it would like.   Each 
  40. configuration can list a single setting (eg. I/O addresses $3F8 to 
  41. $3FF for COM1) or it can list a range of legal settings (eg. any 8 consecutive 
  42. I/O addresses between $200 and $0FF8).   After the PnP enumerator has read the 
  43. resource data from all the PnP devices in the system it then determines how to 
  44. configure all the devices so that they don't coflict with each other or with 
  45. other non-PnP devices.   The last step is the hard part, it means the BIOS or 
  46. PnP aware OS must know about every card non-PnP card in the system or feature 
  47. built into the motherboard.   Once a non-conflicting setup is found 
  48. the PnP devices are then configured.  If a PnP device has no configuration 
  49. that doesn't conflict with other hardware it will be disabled.  (In 
  50. Windows 95's Device Manager you will get an X or exclamation point on the 
  51. device if it is disabled.)
  52.  
  53.         PnP devices don't configure themselves, they just tell a PnP 
  54. OS or PnP BIOS what resources they need.   It is up to the PnP OS or PnP BIOS 
  55. to correctly configure all the devices in the system.  Configuration failures 
  56. (two devices at the same I/O address, shared IRQs, etc.) are caused by the PnP 
  57. OS or PnP BIOS not knowing about a conflict.   This is why it is important you 
  58. always run the Add New Hardware wizard in Windows 95 whenever a non-PnP device 
  59. is installed.  Otherwise Windows will NOT know about the non-PnP device and 
  60. will be unable to prevent conflicts between the new device and any PnP devices 
  61. in the system.  
  62.  
  63.         For Supra PnP modems there are several configurations listed, the 
  64. first few look like the standard COM ports in order to maintain compatiblity 
  65. with non-PnP OSes on systems with a PnP BIOS.   The configuration list is:
  66.           COM 1 IRQ 4
  67.           COM 2 IRQ 3
  68.           COM 3 IRQ 4
  69.           COM 4 IRQ 3
  70.           COM 3 IRQ 5
  71.           COM 4 IRQ 5
  72.           COM 3 IRQ 3, 4, 5, 7, 10, 11, 12, or 15
  73.           COM 4 IRQ 3, 4, 5, 7, 10, 11, 12, or 15
  74.           COM 1 IRQ 3, 4, 5, 7, 10, 11, 12, or 15
  75.           COM 2 IRQ 3, 4, 5, 7, 10, 11, 12, or 15
  76.           8 consecutive I/O addresses between $200 and $3F8, any IRQ
  77.  
  78.         When the PnP devices are configured, if there is no COM1 already 
  79. present in the system the modem will configure there.  If there is a COM1 and 
  80. COM2 in the system the modem will configure as COM 3 IRQ 5.   If COM1 through 
  81. COM4 are present in the system the modem will configure at some I/O address 
  82. between $200 and $3F8 using some available IRQ.  (NOTE: The COM4 
  83. I/O address space is used by some accelerated video cards, on those systems 
  84. the modem will never configure as COM4.)
  85.  
  86.         Under Windows 95 things are slightly more confusing.  Windows 95 has 
  87. virtualized all the COM ports, so what it tells you is COM1 may not actually 
  88. be associated with I/O address $3F8 and IRQ 4.   The only way to really tell 
  89. is to run the device manager.   Windows 95 also allows for more than the 
  90. 4 standard COM ports.  For example you can have COM1 and COM2 on the 
  91. motherboard and 4 PnP modems all in one system.  (The real limiting factor is 
  92. available IRQs, 6 COM ports need 6 IRQs.)
  93.  
  94.         Windows 95 does allow the user to specify how a PnP device is 
  95. configured, instead of using it's automatic setup.  This can be done from 
  96. device manager (Start->Settings->Control Panel->System->Device Manager).   
  97. When you double click on any device it will show it's properties, on devices 
  98. which use hardware resources there will be a Resource tab.  On PnP devices you 
  99. can then change the configuration by unchecking the "Use automatic settings" 
  100. box and then selecting an alternate configuration.   
  101.  
  102.         I HIGHLY RECOMMEND YOU DON'T CHANGE THE SETTINGS unless you 
  103. are familiar with how PnP works and know exactly what hardware is in your 
  104. machine and what exactly what resources that hardware uses.  Windows 95 will 
  105. attempt to tell you if it detects a hardware resource conflict with your new 
  106. setting but it does sometimes fail to detect a problem.  This often happens on 
  107. systems with lots of non-PnP resources that were identified by Windows 95 when 
  108. it was installed.
  109.  
  110.  
  111.  
  112. --
  113. Dan Moore
  114. Supra
  115.  
  116.